package nowcoder;

import java.util.Scanner;

/**
 * @author： hmm
 * @date： 2020/7/16 17:00
 * @description： 近似值
 * @modifiedBy：
 */
public class Approximate {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String i = scanner.next();
        long round = Math.round(Double.parseDouble(i));
        System.out.println(round);
    }
}
